Can someone explain how this move was 'brilliant' according to chess.com? I don't understand

I captured white's knight on h3, if that gave any advantage here

I captured white's knight on h3, if that gave any advantage here